package com.example.comment_oa.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName additional
 */
@TableName(value ="additional")
@Data
public class Additional implements Serializable {
    /**
     * 预算追加ID
     */
    private String additionalId;

    /**
     * 追加部门
     */
    private String deptName;

    /**
     * 预算期间
     */
    @JsonFormat(pattern ="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date additionalPeriod;

    /**
     * 追加科目
     */
    private String additionalSubjects;

    /**
     * 追加金额
     */
    private Double tzje;

    /**
     * 追加声明
     */
    private String additionalStatement;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}